package com.cskt.petoms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan(basePackages = {"com.cskt.petoms.mapper"})
@EnableDiscoveryClient //开启服务注册
@EnableFeignClients //开启openfeign远程调用客户端
public class PetOmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(PetOmsApplication.class, args);
    }

}
